﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MoneyWentWhere.WinFormsUI.UI.DataGrid
{
    /// <summary>
    /// Drop-down controls can implement this to
    /// interact with the host.
    /// </summary>
    public interface IDropDownControl<T> where T : Control
    {
        /// <summary>
        /// Sets the host of the editing control. 
        /// Host is the ComboBox / IDataGridViewEditingControl that
        /// which drops down the control.
        /// </summary>
        void InitializeHost(DropDownEditingControl<T> host);
    }

}
